package org.dom4j.tree;

import org.dom4j.Element;

public class DefaultText extends DefaultCharacterData {
  
  public DefaultText(Element parent, String text) {
    super(parent, text);
  }
  
  public String asXML() {
    return getText();
  }
  
  public String getName() { 
    return "Text";
  }
}
